import { createApp } from 'vue';
import App from './App.vue';
import './style.css'; 
import ECharts from 'vue-echarts';
import 'echarts';
import 'animate.css';
import { createPinia } from 'pinia';
import axios from 'axios';
import router from './routers/router';

const pinia = createPinia();

const app = createApp(App);
app.use(pinia);
app.use(router)
app.component('v-chart', ECharts);
app.config.globalProperties.$http = axios; 
app.mount('#app');